projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a01934d
)
(decode_coding_string): Adjust coding->consumed, and
author
Kenichi Handa
<handa@m17n.org>
Tue, 3 Aug 2004 05:12:00 +0000
(
05:12
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 3 Aug 2004 05:12:00 +0000
(
05:12
+0000)
etc. with shrinked_bytes.
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index c1394d0f135bd5105a4373afc3902086be468a6e..7f87abce34dc7c757d5c8086293203ea2e333634 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-6238,6
+6238,11
@@
decode_coding_string (str, coding, nocopy)
shrinked_bytes - from);
free_conversion_buffer (&buf);
+ coding->consumed += shrinked_bytes;
+ coding->consumed_char += shrinked_bytes;
+ coding->produced += shrinked_bytes;
+ coding->produced_char += shrinked_bytes;
+
if (coding->cmp_data && coding->cmp_data->used)
coding_restore_composition (coding, newstr);
coding_free_composition_data (coding);